package org.ben.birthday.twentybirthday.dao;

import org.ben.birthday.twentybirthday.entity.BackGroundImage;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


/**
 * @Author: Ben
 * @Date: 2019/8/7 22:07
 */
public interface BackGroundImageDaoRepository extends JpaRepository<BackGroundImage,Integer> {

    /**
     * 根据图片地址查找图片
     * @param pictureUrl
     * @return List<BackGroundImage>
     */
    List<BackGroundImage> findBackGroundImageByPictureUrl(String pictureUrl);

}
